#pragma once
#include "Constants.h"

class Hashtable
{
public:
	Hashtable(void);
	~Hashtable(void);

	unsigned int ps[WORDS];                               /* the packed states themselves */
	short g;                                      /* distance from initial state */
	short h;                        /* static heuristic distance from goal state */
	short oldblank;                                /* previous position of blank */
	int link;                    /* pointer to next element with same hash value */
	int prev;                            /* index of previous state in open list */
	int next;					/* index of next state in open list, last is NIL */
};
